package com.ants.boot.system.vo.sysuser;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

/**
 * @author 蚂蚁会花呗
 * @date 2022/4/20 18:00
 */
public class UserProfileVo {

    /**
     * 主键id
     */
    private Integer id;


    /**
     * 昵称
     */
    private String nickName;

    /**
     * 联系电话
     */
    private String phoneNumber;


    /**
     * 邮箱地址
     */
    private String email;

    /**
     * 性别
     */
    private Integer sex;


    /**
     * 创建时间
     */
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}
